import request from '@/utils/request'

// 查询任务下发记录列表
export function listDailyTaskSendInfo(query) {
  return request({
    url: '/schedule/manager/dailyTaskSendInfo/list',
    method: 'get',
    params: query
  })
}

// 查询任务下发记录详细
export function getDailyTaskSendInfo(id) {
  return request({
    url: '/schedule/manager/dailyTaskSendInfo/' + id,
    method: 'get'
  })
}

// 新增任务下发记录
export function addDailyTaskSendInfo(data) {
  return request({
    url: '/schedule/manager/dailyTaskSendInfo',
    method: 'post',
    data: data
  })
}

// 修改任务下发记录
export function updateDailyTaskSendInfo(data) {
  return request({
    url: '/schedule/manager/dailyTaskSendInfo',
    method: 'put',
    data: data
  })
}

// 删除任务下发记录
export function delDailyTaskSendInfo(id) {
  return request({
    url: '/schedule/manager/dailyTaskSendInfo/' + id,
    method: 'delete'
  })
}

// 导出任务下发记录
export function exportDailyTaskSendInfo(query) {
  return request({
    url: '/schedule/manager/dailyTaskSendInfo/export',
    method: 'get',
    params: query
  })
}